const mongoose = require('mongoose')
const schema = mongoose.Schema({
  create_time: { type: Number, required: true }, // 创建时间
  type: { type: String, required: true }, // 类型
  use: { type: Boolean, default: false }, // 是否使用
  text: { type: String, default: '' }, // logo文本
  svg: { type: String, default: '' }, //
  desc: { type: String, default: '' } // 备注
})

module.exports = mongoose.model('LogoList', schema, 'logo-list')
